using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;

namespace Client
{
    public class ProgramAsync
    {
        public static void Main(String[] args)
        {
            AsyncTask task = new AsyncTask();
            task.RunTask(3);
            task.RunTask(4);
            task.RunTask(5);
            task.RunTask(1);
            task.RunTask(2);
            task.RunTask(3);

            Console.WriteLine("precione uma tecla...");
            Console.ReadKey();
        }
    }
}
